<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
	<head>
		<title>FragKB</title>
		<script id="bwsl" src="http://ubio.bioinfo.cnio.es/biotools/bws/bwsl.js"></script>
		<?
			include_once('http://ubio.bioinfo.cnio.es/biotools/bws/bwsl.php');
			include_once('../bwel.php');
		?>
		<style>
			body {
				font-family:Verdana;
				font-size:12px;
				padding:20px;
			}
			p{
				text-align:justify;
			}
		</style>
	</head>
	<body>
		<h1>FragKB example</h1>
		
		<h2>Protein view using madasmap</h2>
		<span id="madasmap1" class="madasmap"></span>
		
		<h2>FragKB cluster view</h2>
		<div id="fragkb" class="fragkb"></div>
		
		<script type="text/JavaScript">
		  das_server    = 19;        /*MaDAS das server id */
		  pid           = 34;        /*MADAS project id */
		  dsn           = 'uniprot'; /*MaDAS dsn */
		  segment       = 'Q12809';  /*Replace the Uniprot ID*/
		  size          = 1159;      /* Replace the protein size */
		  $.bwe.madasmap.instance($('#madasmap1'),segment,800,300,true);
		</script>
		
		<script type="text/JavaScript">
			$.bwe.fragkb.instance($('#fragkb'),'S.23.2.2.5.6684','getClusterInfo','FragKB Cluster Information',true);	
		</script>
	</body>
</html>
